<script setup lang="ts">
import {onMounted} from "vue";
import {useThemeStore} from "@/stores/themes";

onMounted(() => {
  const app = document.querySelector("#app") as HTMLDivElement
  const useStore = useThemeStore()
  app.style.background = useStore.getColor()
})
</script>

<template>
  <RouterView/>
</template>

<style scoped>

</style>
